<%@ attribute name="num1" type="java.lang.Integer" required="true" %>  
<%@ attribute name="num2" type="java.lang.Integer" required="true" %> 
<% 
 out.println(num1 + num2); 
%>